package com.dingreading.cloud.soms.service;

import com.dingreading.cloud.soms.dto.SubjectsDto;
import com.mybatisflex.core.service.IService;
import com.dingreading.cloud.soms.entity.Subjects;

import java.util.List;
import java.util.Set;

/**
 *  服务层。
 *
 * @author EDY
 * @since 2025-10-29
 */
public interface SubjectsService extends IService<Subjects> {

    Subjects getByUid(String projectUid);

    List<SubjectsDto> getBySubjectMainId(Long subjectMainId);

    List<Subjects> getBySubjectIds(Set<Long> uniqueSubjectIds);


    Subjects findByMainSubjectName(String findMainSubjectName);

    Subjects findByMainSubjectIdAndSubjectName(Long id, String findSubjectName);
}
